package xiangmu2;

public class Static {

	private Egg egg;
	private Chick chick;
	private int day;
	public Static() {
		
	}
	public Static( Chick chick,Egg egg, int day) {
		
		this.egg = egg;
		this.chick = chick;
		this.day = day;
	}
	public Chick getChick() {
		return chick;
	}
	public int getDay() {
		return day;
	}
	public Egg getEgg() {
		return egg;
	}
	public void setChick(Chick chick) {
		this.chick = chick;
	}
	public void setDay(int day) {
		this.day = day;
	}
	public void setEgg(Egg egg) {
		this.egg = egg;
	}
	@Override
	public String toString() {
		return "Static [egg=" + egg + ", chick=" + chick + ", day=" + day + "]\n";
	}
	
	
	
}
